package com.ecloud.aiassistantbackground.model.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 订单详情表
 * </p>
 *
 * @author Squbirreland
 * @since 2021-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("assistant_order_info")
@ApiModel(value = "OrderInfo对象", description = "订单详情表")
public class OrderInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单详情表id")
    @TableId(value = "order_info_id", type = IdType.AUTO)
    private Integer orderInfoId;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "模型id")
    private Integer modelId;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal orderInfoProductPrice;

    @ApiModelProperty(value = "购买数量 模型 每一个为月单位")
    private Integer orderQuantity;

    @ApiModelProperty(value = "备用字段1")
    private String orderInfoReserve1;

    @ApiModelProperty(value = "备用字段2")
    private String orderInfoReserve2;

}
